/**重置标签默认样式*/
html,
body,
p,
ul,
li,
img,
h1,
h2,
h3,
h4,
pre {
    margin: 0;
    padding: 0;
    border: 0;

}

html,
body,
button,
input,
textarea,
pre {
    font-family: "Helvetica Neue", Helvetica, "Microsoft Yahei", Arial, sans-serif
}

html,
body {
    width: 100%;
    height: 100%;
    border: 0;
    overflow: hidden;
}

body {
    background: #fff;
}

h1,
h2,
h3,
h4 {
    font-weight: normal
}

ul {
    list-style: none
}

a {
    text-decoration: none
}

img {
    border: none
}

embed {
    width: 100%;
}

* {
    scrollbar-face-color: #bbb;
    scrollbar-arrow-color: #bbb;
    scrollbar-3dlight-color: #c0c0c0;
    scrollbar-highlight-color: #bbb;
    scrollbar-shadow-color: #bbb;
    scrollbar-darkshadow-color: #c0c0c0;
    scrollbar-track-color: #eee;
}

pre {
    border: 0;
    background: 0;
    white-space: pre-line;
}

::-webkit-scrollbar {
    display: none;
}

::-webkit-resizer {
    background-repeat: no-repeat;
    background-position: bottom right;
}

* {
    -webkit-overflow-scrolling: touch;
}

.outer-right {
    float: right;
    width: 80%;
    position: relative;
    right: 60px;
    /* 默认距离，适用于大屏幕 */
    clear: both;
    font-size: 14px;
}

.outer-left_test {
    float: right;
    width: 80%;
    position: relative;
    clear: both;
    right: 5%;
    font-size: 14px;
}

.outer-iframe-left {
    float: left;
    position: relative;
    clear: both;
    padding-top: 5px;
}

.outer-right:before,
.outer-right>i {
    width: 0;
    height: 1px;
    border-width: 6px 7px;
    border-style: dashed solid dashed solid;
    /*border-color: #66afe9 transparent transparent;*/
    border-color: transparent transparent transparent #5FB878;
    _border-color: #fff #19CAA6 #fff #eee;
    font-size: 0;
    line-height: 0;
    content: "";
    position: absolute;
    top: 15px;
    right: -12px;
}

.outer-left:before,
.outer-left>i {
    width: 0;
    height: 0;
    border-width: 6px 7px;
    border-style: solid;
    border-color: transparent #eee transparent transparent;
    font-size: 0;
    line-height: 0;
    content: "";
    position: absolute;
    top: 15px;
    left: -12px;
}

.customer {
    margin-top: 5px;
    background-color: #5FB878;
    padding: 10px 15px;
    float: right;
    word-break: break-all;
    word-wrap: break-word;
    color: #fff;
    border-radius: 3px;
    max-width: 100%;
    box-sizing: border-box;
    margin-right: 5px;
    /* 气泡与头像间距 */
}

/* 添加响应式媒体查询，针对小屏幕设备 */
@media (max-width: 480px) {
    .outer-right {
        width: 70%;
        /* 减小宽度，避免重叠 */
        right: 15%;
        /* 增加右侧距离，为头像留出空间 */
    }

    .customer {
        margin-right: 10px;
        /* 增加气泡与头像间距 */
    }
}

.service_test {
    /*margin-left: 10px;*/
    margin-top: 5px;
    background-color: #eee;
    /* display: inline-block; */
    padding: 10px 10px;
    float: left;
    word-break: break-all;
    word-wrap: break-word;
    color: #000;
    border-radius: 3px;
    position: relative;
    left: 0px;
    max-width: 100%;
}

.chatmsg {
    margin-bottom: 20px;
    position: relative;
    clear: both;
}

.chatmsg_notice_test {
    position: relative;
    margin-bottom: 80px;
}

.chatmsg img {
    max-width: 100px;
    max-height: 100px;
    cursor: pointer;
}

.chatmsg:after,
.chatmsg p {
    content: "";
    display: table;
    clear: both;
}

.service-name {
    float: left;
    display: block;
    position: relative;
    font-size: 12px;
    color: #8D8D8D;
}

.showtime {
    color: #D2D2D2;
    position: relative;
    margin-bottom: 10px;
    font-size: 12px;
    text-align: center;
    height: 15px;
    clear: both;
}

.header {
    position: relative;
    background: #000;
    height: 45px;
    color: #fff;
    line-height: 46px;
    font-size: 20px;
    padding: 0 10px;
    text-align: center;
}

.foot_all {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: auto;

}

.tool_box {
    width: 100%;
    height: auto;
    position: relative;
    top: 28px;
    display: none;
    background-color: #fff;

}

.foot_msg {
    width: 100%;
    height: 100%;
    overflow: auto;

}

.msg-toolbar {
    width: 100%;
    height: 40px;
    position: relative;
    top: 8px;
}

.footer {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 50px;
    overflow-y: auto;
}

.footer span {
    display: inline-block;
    width: 16%;
    height: 70%;
    background: #ccc;
    font-size: 22px;
    line-height: 38px;
    cursor: pointer;
    text-align: center;
    position: absolute;
    bottom: 14%;
    right: 2%;
    border-radius: 6px;
}

.footer span:hover {
    color: #fff;
    background: #999;
}

.content {
    position: absolute;
    top: 45px;
    width: 98%;
    margin-left: 1%;
    font-size: 20px;
    height: auto;
    max-height: 75%;
    overflow-y: auto;
    overflow-x: hidden;
}

.conversation {
    list-style: none;
    padding: 10px;

}

.msg-toolbar a {
    float: left;
    margin: 6px;
}

.wl_faces_main ul {
    margin: 5px 5px;
    overflow: hidden;
    width: 100%;
}

.wl_faces_main ul li {
    float: left;
    height: 30px;
    width: 26px;
    text-align: center;

}

.wl_faces_main ul li img {
    width: 22px;
    height: 22px;
    padding: 0px;
}

.edit-ipt {
    border: 2px solid #ddd;
    width: 78%;
    outline: none;
    text-indent: 10px;
    border-radius: 6px;
    margin-left: 5px;
    background-color: #fff;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.5;
}

img {
    max-width: 100%;
}

.outer-left,
.outer-right {
    font-size: 15px;
}

#close_icon {
    position: absolute;
    right: 10px;
    top: 2px;
    cursor: pointer;
}

.input-but {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 30px;
}

.my-circle_test {
    border-radius: 30px;
}

.size {
    min-width: 30px;
    height: 25px;
    line-height: 30px;
    border: none;
}

.fileinput {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0px;
    right: 0px;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer;
}

.chatmsg_no {
    position: relative;
    margin-bottom: 80px;
}

.service a {
    text-decoration: underline;
}

.service pre a:only-child {
    color: #34abff;
}

#text_in {
    font-weight: normal;
    font-size: 16px;
    overflow-y: auto;
    height: auto;
    min-height: 40px;
    overflow-x: hidden;
    word-break: break-all;
    font-style: normal;
    min-width: 80%;
    width: 80%;
    display: inline-block;
    margin-left: 10px;
}

/*新增底部工具栏 样式*/
.tool-wrapper {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    display: flex;
    box-shadow: 0px -2px 18px 0px rgba(0, 0, 1, 0.12);
    background: #fff;
}

.tool-wrapper .item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 14px;
    font-family: 'PingFang SC';
}

.tool-wrapper .item img {
    width: 28px;
    height: 28px;
    margin-right: 3px;
}

.tool-wrapper .reflection {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tool-wrapper .reflection::before {
    content: '';
    display: block;
    left: 0;
    top: 12px;
    width: 1px;
    height: 36px;
    background: #DDD;
}

/* 新增/修改的样式 */
.chatmsg_notice {
    position: relative;
    min-height: 60px;
    /* 确保有足够高度 */
    margin-bottom: 20px;
    padding-left: 50px;
    /* 为头像留出空间 */
}

.chatmsg_notice>div:first-child {
    position: absolute;
    left: 3px;
    top: 0;
}

.my-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
}

.outer-left {
    width: calc(100% - 10px);
    /* 减去边距 */
    position: relative;
}

.service {
    margin-top: 5px;
    background-color: #f5f5f5;
    /* 更柔和的灰色背景 */
    padding: 12px 15px;
    /* 增加内边距 */
    border-radius: 8px;
    /* 更大的圆角 */
    color: #333;
    /* 更深的文字颜色 */
    font-size: 15px;
    /* 调整字体大小 */
    line-height: 1.5;
    /* 更好的行高 */
    word-break: break-word;
    max-width: 85%;
    /* 控制最大宽度 */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    /* 添加轻微阴影 */
    position: relative;
    left: 0;
    margin-left: 10px;
    /* 与头像保持距离 */
    display: inline-block;
    /* 使div宽度随内容变化 */
}

/* 加载动画样式 */
/* 禁用状态的按钮样式 */
.layui-btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed !important;
}

.layui-btn {
    top: -15px !important;
}

/* 输入框禁用状态 */
.edit-ipt[contenteditable="false"] {
    background-color: #f5f5f5 !important;
    cursor: not-allowed;
}

.category-content>.form-group:not(:nth-child(2))>.obj-container>.pairs-list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
}



.category-content>.form-group:nth-child(2)>.obj-container>.pairs-list>.key-value-pair:nth-child(1) {
    display: none !important;
}

#form-content>.category-section:nth-child(2)>.category-content {
    flex-wrap: wrap;

}

.category-content>.form-group:nth-child(2)>.obj-container {
    padding-top: 22vh !important;
}
.category-section:nth-child(3)>.category-content>.form-group:nth-child(3){
    position: relative;
    left: 3vh;
    bottom: 32vh;
}

.category-section:nth-child(3)>.category-content>.form-group:nth-child(n+4){
    position: relative;
    bottom: 17vh;

}
/* #form-content>.category-section:nth-child(2)>.category-content>input{
    width: 40% !important;
} */